Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Various Clippy Fixes #526

Merged
merged 12 commits into from
May 22, 2020
Merged

Various Clippy Fixes #526

merged 12 commits into from
May 22, 2020

Conversation

eopb
Copy link
Contributor

@eopb eopb commented May 21, 2020

This satisfies all off clippy::all with some fixes from clippy::pedantic and clippy::nursery.

Note: It's probably easier to review this per commit rather than as the whole diff as it has lots of little changes.

Copy link
Member

@yoshuawuyts yoshuawuyts left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Most of these look great! -- if we could revert the match blocks to how they were (9cfbea4) I think we're good!

src/fs/serve_dir.rs Show resolved Hide resolved
src/security/cors.rs Show resolved Hide resolved
Copy link
Member

@yoshuawuyts yoshuawuyts left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Eh, actually. I don't care enough that to block this PR. Let's merge it. Thanks!

@yoshuawuyts yoshuawuyts merged commit 7d0b848 into http-rs:master May 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants